

//Event Address : Object.Property.Operation
//OR
//Event Address : Object.Property.State

class Events {
  //region ACCOUNT
  static const String ACCOUNT_SIGNIN_REQUEST = "account.signin.request";
  static const String ACCOUNT_SIGNIN_SUCCESS = "account.signin.success";
  static const String ACCOUNT_SIGNIN_ERROR = "account.signin.error";
  //endregion

//region PREPARE DATA
  static const String FIRSTDATA_SELECT_SUCCESS = "first-data.select.success";
//endregion

//region EXCEPTION
  static const String THROW_EXCEPTION = "*.*.error";
//endregion

//region PRODUCT TYPES
  static const String PRODUCTTYPE_SELECT_SUCCESS = "product-type.select.success";
  static const String PRODUCTTYPE_SELECT_REQUEST = "product-type.select.request";
  static const String PRODUCTTYPE_SELECT_ERROR = "product-type.select.error";

  static const String PRODUCTTYPE_UPDATE_REQUEST = "product-type.update.request";
  static const String PRODUCTTYPE_UPDATE_SUCCESS = "product-type.update.success";
  static const String PRODUCTTYPE_UPDATE_ERROR = "product-type.update.error";

  static const String PRODUCTTYPE_INSERT_REQUEST = "product-type.insert.request";
  static const String PRODUCTTYPE_INSERT_SUCCESS = "product-type.insert.success";
  static const String PRODUCTTYPE_INSERT_ERROR = "product-type.insert.error";

  static const String PRODUCTTYPE_DELETE_REQUEST = "product-type.delete.request";
  static const String PRODUCTTYPE_DELETE_SUCCESS = "product-type.delete.success";
  static const String PRODUCTTYPE_DELETE_ERROR = "product-type.delete.error";
//endregion

//region PRODUCT
  static const String PRODUCT_DATA_SELECT_REQUEST = "product-data.select.request";
  static const String PRODUCT_DATA_SELECT_SUCCESS = "product-data.select.success";
  static const String PRODUCT_DATA_SELECT_ERROR = "product-data.select.error";

  static const String PRODUCT_DATA_INSERT_REQUEST = "product-data.insert.request";
  static const String PRODUCT_DATA_INSERT_SUCCESS = "product-data.insert.success";
  static const String PRODUCT_DATA_INSERT_ERROR = "product-data.insert.error";

  static const String PRODUCT_DATA_UPDATE_REQUEST = "product-data.update.request";
  static const String PRODUCT_DATA_UPDATE_SUCCESS = "product-data.update.success";
  static const String PRODUCT_DATA_UPDATE_ERROR = "product-data.update.error";

  static const String PRODUCT_DATA_DELETE_REQUEST = "product-data.delete.request";
  static const String PRODUCT_DATA_DELETE_SUCCESS = "product-data.delete.success";
  static const String PRODUCT_DATA_DELETE_ERROR = "product-data.delete.error";
//endregion

//region PRODUCT CODE
  static const String PRODUCTCODE_GENERATE_REQUEST = "product-code.generate.request";
  static const String PRODUCTCODE_GENERATE_SUCCESS = "product-code.generate.success";
  static const String PRODUCTCODE_GENERATE_ERROR = "product-code.generate.error";
//endregion

  //region SUPPLIER
  static const String SUPPLIER_INSERT_REQUEST = "supplier.insert.request";
  static const String SUPPLIER_INSERT_SUCCESS = "supplier.insert.success";
  static const String SUPPLIER_INSERT_ERROR   = "supplier.insert.error";

  static const String SUPPLIER_SELECT_REQUEST = "supplier.select.request";
  static const String SUPPLIER_SELECT_SUCCESS = "supplier.select.success";
  static const String SUPPLIER_SELECT_ERROR   = "supplier.select.error";

  static const String SUPPLIER_UPDATE_REQUEST = "supplier.update.request";
  static const String SUPPLIER_UPDATE_SUCCESS = "supplier.update.success";
  static const String SUPPLIER_UPDATE_ERROR   = "supplier.update.error";

  static const String SUPPLIER_DELETE_REQUEST = "supplier.delete.request";
  static const String SUPPLIER_DELETE_SUCCESS = "supplier.delete.success";
  static const String SUPPLIER_DELETE_ERROR   = "supplier.delete.error";
  //endregion

  //region SUPPLIER TYPE
  static const String SUPPLIER_TYPE_INSERT_REQUEST = "supplier-type.insert.request";
  static const String SUPPLIER_TYPE_INSERT_SUCCESS = "supplier-type.insert.success";
  static const String SUPPLIER_TYPE_INSERT_ERROR   = "supplier-type.insert.error";

  static const String SUPPLIER_TYPE_SELECT_REQUEST = "supplier-type.select.request";
  static const String SUPPLIER_TYPE_SELECT_SUCCESS = "supplier-type.select.success";
  static const String SUPPLIER_TYPE_SELECT_ERROR   = "supplier-type.select.error";

  static const String SUPPLIER_TYPE_UPDATE_REQUEST = "supplier-type.update.request";
  static const String SUPPLIER_TYPE_UPDATE_SUCCESS = "supplier-type.update.success";
  static const String SUPPLIER_TYPE_UPDATE_ERROR   = "supplier-type.update.error";

  static const String SUPPLIER_TYPE_DELETE_REQUEST = "supplier-type.delete.request";
  static const String SUPPLIER_TYPE_DELETE_SUCCESS = "supplier-type.delete.success";
  static const String SUPPLIER_TYPE_DELETE_ERROR   = "supplier-type.delete.error";
  //endregion

  //region WAREHOUSE
  static const String WAREHOUSE_INSERT_REQUEST = "warehouse.insert.request";
  static const String WAREHOUSE_INSERT_SUCCESS = "warehouse.insert.success";
  static const String WAREHOUSE_INSERT_ERROR   = "warehouse.insert.error";

  static const String WAREHOUSE_SELECT_REQUEST = "warehouse.select.request";
  static const String WAREHOUSE_SELECT_SUCCESS = "warehouse.select.success";
  static const String WAREHOUSE_SELECT_ERROR   = "warehouse.select.error";

  static const String WAREHOUSE_UPDATE_REQUEST = "warehouse.update.request";
  static const String WAREHOUSE_UPDATE_SUCCESS = "warehouse.update.success";
  static const String WAREHOUSE_UPDATE_ERROR   = "warehouse.update.error";

  static const String WAREHOUSE_DELETE_REQUEST = "warehouse.delete.request";
  static const String WAREHOUSE_DELETE_SUCCESS = "warehouse.delete.success";
  static const String WAREHOUSE_DELETE_ERROR   = "warehouse.delete.error";

  //endregion
  //region PURCHASE
  static const String PURCHASE_INSERT_REQUEST = "purchase.insert.request";
  static const String PURCHASE_INSERT_SUCCESS = "purchase.insert.success";
  static const String PURCHASE_INSERT_ERROR   = "purchase.insert.error";

  static const String PURCHASE_SELECT_REQUEST = "purchase.select.request";
  static const String PURCHASE_SELECT_SUCCESS = "purchase.select.success";
  static const String PURCHASE_SELECT_ERROR   = "purchase.select.error";

  static const String PURCHASE_UPDATE_REQUEST = "purchase.update.request";
  static const String PURCHASE_UPDATE_SUCCESS = "purchase.update.success";
  static const String PURCHASE_UPDATE_ERROR   = "purchase.update.error";

  static const String PURCHASE_DELETE_REQUEST = "purchase.delete.request";
  static const String PURCHASE_DELETE_SUCCESS = "purchase.delete.success";
  static const String PURCHASE_DELETE_ERROR   = "purchase.delete.error";

  static const String PRODUCT_IN_WAREHOUSE_SELECT_REQUEST = "product-in-warehouse.select.request";
  static const String PRODUCT_IN_WAREHOUSE_SELECT_SUCCESS = "product-in-warehouse.select.success";
  static const String PRODUCT_IN_WAREHOUSE_SELECT_ERROR   = "product-in-warehouse.select.error";
  //endregion

//region PurchaseOrder
  static const String PURCHASE_ORDER_DETAIL_SELECT_REQUEST = "purchase-order-detail.select.request";
  static const String PURCHASE_ORDER_DETAIL_SELECT_SUCCESS = "purchase-order-detail.select.success";
  static const String PURCHASE_ORDER_DETAIL_SELECT_ERROR   = "purchase-order-detail.select.error";

//ednregion

  //region CUSTOMER TYPE
  static const String CUSTOMER_TYPE_INSERT_REQUEST = "customer-type.insert.request";
  static const String CUSTOMER_TYPE_INSERT_SUCCESS = "customer-type.insert.success";
  static const String CUSTOMER_TYPE_INSERT_ERROR   = "customer-type.insert.error";

  static const String CUSTOMER_TYPE_SELECT_REQUEST = "customer-type.select.request";
  static const String CUSTOMER_TYPE_SELECT_SUCCESS = "customer-type.select.success";
  static const String CUSTOMER_TYPE_SELECT_ERROR   = "customer-type.select.error";

  static const String CUSTOMER_TYPE_UPDATE_REQUEST = "customer-type.update.request";
  static const String CUSTOMER_TYPE_UPDATE_SUCCESS = "customer-type.update.success";
  static const String CUSTOMER_TYPE_UPDATE_ERROR   = "customer-type.update.error";

  static const String CUSTOMER_TYPE_DELETE_REQUEST = "customer-type.delete.request";
  static const String CUSTOMER_TYPE_DELETE_SUCCESS = "customer-type.delete.success";
  static const String CUSTOMER_TYPE_DELETE_ERROR   = "customer-type.delete.error";
//endregion

  //region CUSTOMER
  static const String CUSTOMER_INSERT_REQUEST = "customer.insert.request";
  static const String CUSTOMER_INSERT_SUCCESS = "customer.insert.success";
  static const String CUSTOMER_INSERT_ERROR   = "customer.insert.error";

  static const String CUSTOMER_SELECT_REQUEST = "customer.select.request";
  static const String CUSTOMER_SELECT_SUCCESS = "customer.select.success";
  static const String CUSTOMER_SELECT_ERROR   = "customer.select.error";

  static const String CUSTOMER_UPDATE_REQUEST = "customer.update.request";
  static const String CUSTOMER_UPDATE_SUCCESS = "customer.update.success";
  static const String CUSTOMER_UPDATE_ERROR   = "customer.update.error";

  static const String CUSTOMER_DELETE_REQUEST = "customer.delete.request";
  static const String CUSTOMER_DELETE_SUCCESS = "customer.delete.success";
  static const String CUSTOMER_DELETE_ERROR   = "customer.delete.error";
//endregion

  //region CUSTOMER
  static const String SALES_ORDER_INSERT_REQUEST = "sales-order.insert.request";
  static const String SALES_ORDER_INSERT_SUCCESS = "sales-order.insert.success";
  static const String SALES_ORDER_INSERT_ERROR   = "sales-order.insert.error";

  static const String SALES_ORDER_SELECT_REQUEST = "sales-order.select.request";
  static const String SALES_ORDER_SELECT_SUCCESS = "sales-order.select.success";
  static const String SALES_ORDER_SELECT_ERROR   = "sales-order.select.error";

  static const String SALES_ORDER_DETAIL_SELECT_REQUEST = "sales-order-detail.select.request";
  static const String SALES_ORDER_DETAIL_SELECT_SUCCESS = "sales-order-detail.select.success";
  static const String SALES_ORDER_DETAIL_SELECT_ERROR   = "sales-order-detail.select.error";

//endregion

  //region EDIT-PRODUCTS
  static const String PRODUCT_IN_WAREHOUSE_EDIT_REQUEST = "product-in-warehouse.edit.request";
  static const String PRODUCT_IN_WAREHOUSE_EDIT_SUCCESS = "product-in-warehouse.edit.success";
  static const String PRODUCT_IN_WAREHOUSE_EDIT_ERROR   = "product-in-warehouse.edit.error";

  static const String PRODUCT_IN_WAREHOUSE_DELETE_REQUEST = "product-in-warehouse.delete.request";
  static const String PRODUCT_IN_WAREHOUSE_DELETE_SUCCESS = "product-in-warehouse.delete.success";
  static const String PRODUCT_IN_WAREHOUSE_DELETE_ERROR   = "product-in-warehouse.delete.error";

  static const String PRODUCT_IN_WAREHOUSE_EDIT_PRICE_REQUEST = "product-in-warehouse.edit-product.request";
  static const String PRODUCT_IN_WAREHOUSE_EDIT_PRICE_SUCCESS = "product-in-warehouse.edit-product.success";
  static const String PRODUCT_IN_WAREHOUSE_EDIT_PRICE_ERROR   = "product-in-warehouse.edit-product.error";
//endregion
}

